<%@ page import="book.userentity.User" %>
<%@ page import="java.io.PrintWriter" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/1/6
  Time: 9:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="layui/css/layui.css" />
    <script type="text/javascript" src="layui/layui.js"></script>
</head>
<body>
<div style="width: 1200px;margin:auto;font-size: 25px;text-align: center">图书浏览</div>
<table class="layui-table">
    <colgroup>
        <col width="150">
        <col width="200">
        <col>
    </colgroup>
    <thead>
    <tr>
        <th>ID</th>
        <th>书名</th>
        <th>作者</th>
        <th>上架时间</th>
        <th>价格</th>
        <th>状态</th>
        <th>借阅量</th>
        <th>类型</th>
        <th>删除用户</th>
        <th>删除时间</th>
        <th>删除备注</th>
        <th>图片</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${list}" var="book">
        <tr>
            <th>${book.id}</th>
            <th>${book.bookName}</th>
            <th>${book.bookAuthor}</th>
            <th>${book.bookPutaway}</th>
            <th>${book.bookPrice}</th>
            <th>${book.bookStatus}</th>
            <th>${book.bookVisits}</th>
            <th>${book.bookType}</th>
            <th>${book.bookDeluser}</th>
            <th>${book.bookDeldate}</th>
            <th>${book.bookDelremark}</th>
            <th>${book.bookHold02}</th>
        </tr>
    </c:forEach>
    </tbody>
</table>

</body>
</html>
